Airwallex\Client\AbstractClient C

Total Complexity 113
Dependencies 12
Dependents 2
Total lines 746
Lines of code 567
Logical lines of code 198
Comment lines 85
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
createPaymentIntent()
D
26
32 142
startPaymentSession()
A
48 7 32
getToken()
S
58 7 16
doAuth()
S
52 6 26
createRefund()
S
49 4 31
createPaymentConsent()
S
50 4 28
verifyPaymentConsent()
S
52 4 24
confirmPaymentIntent()
S
53 4 22
paymentConfirmContinue()
S
53 4 22
getCustomer()
S
53 3 24
createCustomer()
S
53 3 24
getPaymentIntent()
S
56 3 18
createCustomerClientSecret()
S
56 3 18
getMetaData()
S
61 3 11
getPaymentMethodTypes()
S
55 2 22
capture()
S
55 2 21
getAccount()
S
58 2 17
getAuthUrl()
S
78 2 3
getCachedPaymentIntent()
S
68 2 7
savePaymentIntentToCache()
S
67 2 7
getCacheService()
S
71 2 6
getLogUrl()
S
78 2 3
getGeneralUrl()
S
78 2 3
getPciUrl()
S
78 2 3
getInstance()
S
71 2 6
testAuth()
S
60 1 13
getHttpClient()
S
80 1 3
getAuthorizationRetryClosure()
S
70 1 7
getReferrer()
S
68 1 8